import service from '../utils/request'

//封装请求
//首页--导航
export function index_nav(payload={}){
    return service.get('/api/index/nav',{params:payload})
}
//首页--推荐列表
export function index_goodlist(payload={}){
    return service.get('/api/index/goodlist',{params:payload})
}

//分类--一级
export function category_list(payload={}){
    return service.get('/api/category/list',{params:payload})
}
//分类--二三级
export function category_subcate(payload={}){
    return service.get('/api/category/subcate',{params:payload})
}